<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<ui:fragment xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

	<f:view>
		<h:form id="menuform">
			<p:growl id="messages" />
			<p:menubar>

				<p:menuitem value="HOME" url="/index.xhtml?faces-redirect=true" />

				<p:submenu label="CADASTRO">
					<p:submenu label="Campus" icon="ui-icon-contact">
						<p:menuitem value="Novo" url="/campus/campus.xhtml?faces-redirect=true" />
						<p:menuitem value="Listar"
							url="/campus/campus-listar.xhtml?faces-redirect=true" />
					</p:submenu>
					<p:submenu label="Departamento" icon="ui-icon-contact">
						<p:menuitem value="Novo" url="setor.xhtml?faces-redirect=true" />
						<p:menuitem value="Listar"
							url="setor-listar.xhtml?faces-redirect=true" />
					</p:submenu>
					<p:submenu label="Funcionário" icon="ui-icon-contact">
						<p:menuitem value="Novo"
							url="funcionario.xhtml?faces-redirect=true" />
						<p:menuitem value="Listar"
							url="funcionario-listar.xhtml?faces-redirect=true" />
					</p:submenu>
					<p:submenu label="Curso" icon="ui-icon-contact">
						<p:menuitem value="Novo" url="curso.xhtml?faces-redirect=true" />
						<p:menuitem value="Listar"
							url="curso-listar.xhtml?faces-redirect=true" />
					</p:submenu>
					<p:submenu label="Disciplina" icon="ui-icon-contact">
						<p:menuitem value="Novo" url="/disciplina/disciplina.xhtml?faces-redirect=true" />
						<p:menuitem value="Listar"
							url="/disciplina/disciplina-listar.xhtml?faces-redirect=true" />
					</p:submenu>
				</p:submenu>
				<f:facet name="options"></f:facet>
			</p:menubar>

		</h:form>
	</f:view>

</ui:fragment>